﻿
// TODO:
// Remove this code file later since it becomes useless for now.
#if false

using System;
using UDS.Entity;

namespace UDS.Components
{
    public class MailMainBody
    {
        /// <summary>
        /// 邮箱类型
        /// </summary>
        public MailFolderType MailFolderType
        {
            get;
            set;
        }

        /// <summary>
        /// 收件人字符串，用逗号隔开
        /// </summary>
        public string MailReceiverStr
        {
            get;
            set;
        }

        /// <summary>
        /// 发送日期
        /// </summary>
        public DateTime MailSendDate
        {
            get;
            set;
        }

        private int _sendLevel = 1;

        /// <summary>
        /// 发送级别. The value is currently 1 by default and reserved for future use.
        /// </summary>
        public int MailSendLevel
        {
            get { return _sendLevel; }
            set { _sendLevel = value; }
        }

        /// <summary>
        /// 发件人登陆名
        /// </summary>
        public string MailSender
        {
            get;
            set;
        }

        /// <summary>
        /// 收件件人登陆名
        /// </summary>
        public string MailReceiver
        {
            get;
            set;
        }

        /// <summary>
        /// 邮件主题
        /// </summary>
        public string MailSubject
        {
            get;
            set;
        }

        /// <summary>
        /// 邮件主体
        /// </summary>
        public string MailBody
        {
            get;
            set;
        }

        /// <summary>
        /// 抄送地址
        /// </summary>
        public string MailCcToAddr
        {
            get;
            set;
        }

        /// <summary>
        /// 秘密抄送地址
        /// </summary>
        public string MailBccToAddr
        {
            get;
            set;
        }

        /// <summary>
        /// 是否已读标志 0 未读 1已读
        /// </summary>
        public int MailReadFlag
        {
            get;
            set;
        }

        /// <summary>
        /// 邮件类型 0 为内部 1为外部
        /// </summary>
        public int MailTypeFlag
        {
            get;
            set;
        }

        /// <summary>
        /// 所属项目ID
        /// </summary>
        public int MailClassID
        {
            get;
            set;
        }

        /// <summary>
        /// 邮件重要性
        /// </summary>
        public MailImportance MailImportance
        {
            get;
            set;
        }

        /// <summary>
        /// 邮件头信息
        /// </summary>
        public string ExtHeadersText
        {
            get;
            set;
        }

        /// <summary>
        /// Html格式邮件内容
        /// </summary>
        public string ExtHtmlContent
        {
            get;
            set;
        }

        public string ExtFromName
        {
            //发送人姓名
            get;
            set;
        }

        public string ExtFromEmail
        {
            //发送人Email
            get;
            set;
        }

        public string ExtReplyTo
        {
            //回复至
            get;
            set;
        }

        public string ExtMailID
        {
            //邮件的唯一标识
            get;
            set;
        }
    }
}

#endif